#ifndef _DIALOGS
#define _DIALOGS

void TextQuery(char* sIn, char* sOut, char* sQuery, unsigned int MaxLen, u8 QueryType = 0, u8 StripCodes = 0);
unsigned long IPQuery(unsigned long ip, char* sQuery);
unsigned long IntQuery(unsigned long Chislo, unsigned long iMin, unsigned long iMax, unsigned long iMaxLen, char* sQuery);
u8 SelectFileDir(u8 Mode, char* Buffer, u32 MaxLength);

#define OutputCenterText(screen, line, text) PA_OutputSimpleText(screen, 16-strlen(text)/2, line, text)

#endif
